<!doctype html>
<html lang="en-us">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
    <link rel="stylesheet" href="../../../common/emscripten.css"/>
    <link rel="stylesheet" href="../../../common/testing.css"/>
    <title>sqlite3 tester: OpfsSAHPool Pausing</title>
    <style></style>
  </head>
  <body><h1 id='color-target'></h1>

    <p>
      This page provides a <em>very basic</em> demonstration of
      "pausing" and "unpausing" the OPFS SAHPool VFS such that
      multiple pages or workers can use it by coordinating which
      handler may have it open at any given time.
    </p>
    <div class='input-wrapper'>
      <input type='checkbox' id='cb-log-reverse'>
      <label for='cb-log-reverse'>Reverse log order?</label>
    </div>
    <div id='test-output'></div>
    <script>(function(){
      document.querySelector('h1').innerHTML =
        document.querySelector('title').innerHTML;
    })();</script>
    <script src="sahpool-pausing.js"></script>
  </body>
</html>
